home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / alsa-base / README.Debian < prev    next >
Encoding:
Text File  |  2006-12-31  |  2.3 KB  |  68 lines

  1.                      alsa-base README.Debian
  2.                      -----------------------
  3.  
  4. contents
  5. --------
  6. news
  7. loading modules
  8. creating device files
  9. reloading modules after suspension
  10. unloading modules
  11. initscript
  12.  
  13. news
  14. ----
  15. Last updated 3 Feburary 2006
  16.  
  17.  
  18. loading modules
  19. ---------------
  20. Modules are loaded automatically by udev when the hardware is detected
  21. or inserted.
  22.  
  23. The /etc/modprobe.d/alsa-base file contains basic configuration entries
  24. which don't normally need to be customized.  The entries may include:
  25.  
  26. * ALSA autoloader aliases
  27. * entries that install OSS-emulation and other drivers above drivers
  28.   upon which these depend
  29. * an entry for each normal sound card driver that will cause a command
  30.   to be executed after the driver has initialized
  31. * an entry for each abnormal driver (i.e., a driver that drives
  32.   hardware such as a TV card or modem that is not suited to be the
  33.   primary sound card) preventing it from grabbing index 0
  34.  
  35. Suppose you decide that you need to load a certain driver, snd-foo,
  36. with options: "dma1=0 ctlport=0x530".  The recommended way to set this
  37. up is to create an additional file in /etc/modprobe.d/ containing an
  38. "options" line:
  39.  
  40.     # /etc/modprobe.d/alsa_local
  41.     options snd-foo dma1=0 ctlport=0x530
  42.  
  43.  
  44. creating device files
  45. ---------------------
  46. Device files are created automatically by udev when the module is
  47. loaded, and are located in /dev/snd/.  (ALSA's kernel-OSS-emulation
  48. device files are of course the same as the OSS device files.)
  49.  
  50.  
  51. reloading modules across APM suspend-and-resume
  52. -----------------------------------------------
  53. During suspension many peripherals are switched off; on resuming the
  54. machine these peripherals need to be re-initialized.  Many ALSA
  55. drivers do this properly but some still do not.
  56.  
  57. If this problem affects you and if your ALSA drivers are built as
  58. loadable modules and your kernel supports module unloading then you
  59. can work around the problem by unloading the driver before suspending
  60. and loading it again after resuming.  This will be done for you
  61. automatically if you add the name of the problematic sound card driver
  62. module to the variable force_unload_modules_before_suspend variable in
  63. /etc/default/alsa.  E.g., if your CS46XX and AZX cards don't work
  64. properly after resuming from APM suspend, add the names of their
  65. driver modules to the list:
  66.  
  67.     force_unload_modules_before_suspend="snd-cs46xx snd-azx"
  68.